<style>
    #post-edit {
        padding: 20px 25px 25px 0;
    .layui-elem-field legend {
        font-size: 18px;
        color: black;

    }
    .layui-elem-field {
        margin-left: 25px;
    }
    }

</style>
<div class="layui-fluid" id="post-edit">
    <form class="layui-form" action="" lay-filter="post-edit-form">

        <div class="layui-form-item febs-hide">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label febs-form-item-require">岗位ID：</label>
                    <div class="layui-input-block">
                        <input type="text" name="postId" class="layui-input">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item febs-hide">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label febs-form-item-require">管理公司：</label>
                    <div class="layui-input-block">
                        <input type="text" name="tenantId" autocomplete="off" class="layui-input"
                               maxlength="64">
                    </div>
                </div>
            </div>

        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label layui-form-label-detail">公司名称：</label>
                    <div class="layui-input-block layui-input-block-html" id="tenantName"></div>
                </div>
            </div>

        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label febs-form-item-require">岗位名称：</label>
                    <div class="layui-input-block">
                        <input type="text" name="postName" autocomplete="off" class="layui-input"
                               maxlength="64" placeholder="请输入岗位名称">
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label febs-form-item-require">岗位编号：</label>
                    <div class="layui-input-block">
                        <input type="text" name="postCode" autocomplete="off" class="layui-input"
                               maxlength="64" placeholder="请输入岗位编号">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label">岗位描述：</label>
                    <div class="layui-input-block">
                        <textarea name="remark" maxlength="500" class="layui-textarea"
                                  placeholder="请输入岗位描述"></textarea>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <label class="layui-form-label febs-form-item-require">排序：</label>
                    <div class="layui-input-block">
                        <input type="number" name="sort" lay-affix="number" lay-precision="0" class="layui-input"
                               value="1"
                               lay-verify="required" min="1">
                    </div>
                </div>
                <div class="layui-col-xs6"  id="post-status">
                    <label class="layui-form-label">岗位状态：</label>
                    <div class="layui-input-block">
                        <input type="checkbox" name="status" lay-skin="switch" lay-text="启用|禁用">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item febs-hide">
            <button class="layui-btn" lay-submit="" lay-filter="post-edit-form-submit" id="submit"></button>
            <button type="reset" class="layui-btn" id="reset"></button>
        </div>
    </form>
</div>
<script data-th-inline="javascript">
    var post = [[${post}]];
</script>
<script th:src="@{/febs/js/system/post/postEdit.js}"></script>